import com.huangyan.TestBean;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@ComponentScan
@EnableAutoConfiguration
public class SpringboottestApplication {

	@Bean
	public TestBean getTestBean() {
		return new TestBean();
	}

	public static void main(String[] args) {
		SpringApplication.run(SpringboottestApplication.class, args);
	}
}
